package com.yiperTwo.impl;

import com.yiperTwo.StudentTwoService;
import com.yiperTwo.entity.Student;
import com.yiperTwo.mapper.StudentTwoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2018/9/3.
 */
@Service
public class StudentTwoServiceImpl implements StudentTwoService{
    @Autowired
    private StudentTwoMapper studentTwoMapper;

    @Override
    public int insert(Student student) {
        return studentTwoMapper.insertStudent(student);
    }
}
